package com.yonyou.isv.demo.openapi.api.custdocdef;

import com.yonyou.isv.demo.openapi.base.module.reponse.ApiDataResponse;
import com.yonyou.isv.demo.openapi.api.BaseOpenApi;
import com.yonyou.isv.demo.openapi.api.OpenApiURL;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @description: 自定义项设置
 * @author: nishch
 * @create: 2021-07-22
 **/
@Component
public class AttrExtApi extends BaseOpenApi {

    public Map<String, Object> save(Map<String, Object> params) {
        ApiDataResponse apiDataResponse =  postForEntity(OpenApiURL.ATTR_EXT_SAVE,params, ApiDataResponse.class);
        return getData(apiDataResponse);
    }


}
